package org.zfes.snowier.zbss.xzy.biz.vedio.model;
import org.zfes.snowier.core.data.IBaseModel;
public class CloudVedio extends IBaseModel{

	private static final long serialVersionUID = 1L;
	
	public CloudVedio() {}
	public CloudVedio(Long id) {
		this.setId(id);
	}
	//<-------------------------------------------->

 

	  private java.lang.Long deviceId;
 
	@javax.validation.constraints.NotBlank(message="设备编号不能为空")
	@javax.validation.constraints.NotNull(message="设备编号不能为空")
	@org.hibernate.validator.constraints.Length(min=0,max=60,message="设备编号长度不能大于60")
	  private java.lang.String deviceNum;
 

	@javax.validation.constraints.NotNull(message="所属消息不能为空")

	  private java.lang.Long messageId;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="腾讯云播放地址长度不能大于500")
	  private java.lang.String mediaUrl;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="腾讯云封面地址长度不能大于500")
	  private java.lang.String coverUrl;
 
	@org.hibernate.validator.constraints.Length(min=0,max=80,message="腾讯云请求ID长度不能大于80")
	  private java.lang.String requestId;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="腾讯云文件ID长度不能大于500")
	  private java.lang.String vedioFileId;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="腾讯云文件ID长度不能大于500")
	  private java.lang.String coverFileId;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="备注长度不能大于500")
	  private java.lang.String remark;
	

	  private java.lang.Byte status;
 

	  private java.lang.Byte uploadStatus;
 

	  private java.util.Date createTime;
	  private java.util.Date deleteTime;

	  private java.util.Date updateTime;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="视频文件名长度不能大于500")
	  private java.lang.String vedioFileName;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="封面文件名长度不能大于500")
	  private java.lang.String coverFileName;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="本地文件ID长度不能大于500")
	  private java.lang.String localVedioFileId;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="本地文件ID长度不能大于500")
	  private java.lang.String localCoverFileId;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="本地文件路径长度不能大于500")
	  private java.lang.String localVedioFilePath;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="本地文件路径长度不能大于500")
	  private java.lang.String localCoverFilePath;
 
	@org.hibernate.validator.constraints.Length(min=0,max=500,message="上传失败原因长度不能大于500")
	  private java.lang.String uploadErrorMsg;
 

	  private java.lang.Integer retryTimes;
 
	@org.hibernate.validator.constraints.Length(min=0,max=40,message="上传失败原因长度不能大于40")
	  private java.lang.String uploadErrorCode;
 
	
	//<-------------------------------------------->
	public CloudVedio setDeviceId(java.lang.Long deviceId){
	 this.deviceId=deviceId;
	 return this;
	}
	public java.lang.Long getDeviceId(){
		return this.deviceId;
	}
	public CloudVedio setDeviceNum(java.lang.String deviceNum){
		this.deviceNum=deviceNum==null?null:deviceNum.trim();
	 return this;
	}
	public java.lang.String getDeviceNum(){
		return this.deviceNum;
	}
	public CloudVedio setMessageId(java.lang.Long messageId){
	 this.messageId=messageId;
	 return this;
	}
	public java.lang.Long getMessageId(){
		return this.messageId;
	}
	public CloudVedio setMediaUrl(java.lang.String mediaUrl){
		this.mediaUrl=mediaUrl==null?null:mediaUrl.trim();
	 return this;
	}
	public java.lang.String getMediaUrl(){
		return this.mediaUrl;
	}
	public CloudVedio setCoverUrl(java.lang.String coverUrl){
		this.coverUrl=coverUrl==null?null:coverUrl.trim();
	 return this;
	}
	public java.lang.String getCoverUrl(){
		return this.coverUrl;
	}
	public CloudVedio setRequestId(java.lang.String requestId){
		this.requestId=requestId==null?null:requestId.trim();
	 return this;
	}
	public java.lang.String getRequestId(){
		return this.requestId;
	}
	public CloudVedio setVedioFileId(java.lang.String vedioFileId){
		this.vedioFileId=vedioFileId==null?null:vedioFileId.trim();
	 return this;
	}
	public java.lang.String getVedioFileId(){
		return this.vedioFileId;
	}
	public CloudVedio setCoverFileId(java.lang.String coverFileId){
		this.coverFileId=coverFileId==null?null:coverFileId.trim();
	 return this;
	}
	public java.lang.String getCoverFileId(){
		return this.coverFileId;
	}
	public CloudVedio setRemark(java.lang.String remark){
		this.remark=remark==null?null:remark.trim();
	 return this;
	}
	public java.lang.String getRemark(){
		return this.remark;
	}
	public CloudVedio setStatus(java.lang.Byte status){
	 this.status=status;
	 return this;
	}
	public java.lang.Byte getStatus(){
		return this.status;
	}
	public CloudVedio setUploadStatus(java.lang.Byte uploadStatus){
	 this.uploadStatus=uploadStatus;
	 return this;
	}
	public java.lang.Byte getUploadStatus(){
		return this.uploadStatus;
	}
	public CloudVedio setCreateTime(java.util.Date createTime){
	 this.createTime=createTime;
	 return this;
	}
	public java.util.Date getCreateTime(){
		return this.createTime;
	}
	public CloudVedio setUpdateTime(java.util.Date updateTime){
	 this.updateTime=updateTime;
	 return this;
	}
	public java.util.Date getUpdateTime(){
		return this.updateTime;
	}
	public CloudVedio setVedioFileName(java.lang.String vedioFileName){
		this.vedioFileName=vedioFileName==null?null:vedioFileName.trim();
	 return this;
	}
	public java.lang.String getVedioFileName(){
		return this.vedioFileName;
	}
	public CloudVedio setCoverFileName(java.lang.String coverFileName){
		this.coverFileName=coverFileName==null?null:coverFileName.trim();
	 return this;
	}
	public java.lang.String getCoverFileName(){
		return this.coverFileName;
	}
	public CloudVedio setLocalVedioFileId(java.lang.String localVedioFileId){
		this.localVedioFileId=localVedioFileId==null?null:localVedioFileId.trim();
	 return this;
	}
	public java.lang.String getLocalVedioFileId(){
		return this.localVedioFileId;
	}
	public CloudVedio setLocalCoverFileId(java.lang.String localCoverFileId){
		this.localCoverFileId=localCoverFileId==null?null:localCoverFileId.trim();
	 return this;
	}
	public java.lang.String getLocalCoverFileId(){
		return this.localCoverFileId;
	}
	public CloudVedio setLocalVedioFilePath(java.lang.String localVedioFilePath){
		this.localVedioFilePath=localVedioFilePath==null?null:localVedioFilePath.trim();
	 return this;
	}
	public java.lang.String getLocalVedioFilePath(){
		return this.localVedioFilePath;
	}
	public CloudVedio setLocalCoverFilePath(java.lang.String localCoverFilePath){
		this.localCoverFilePath=localCoverFilePath==null?null:localCoverFilePath.trim();
	 return this;
	}
	public java.lang.String getLocalCoverFilePath(){
		return this.localCoverFilePath;
	}
	public CloudVedio setUploadErrorMsg(java.lang.String uploadErrorMsg){
		this.uploadErrorMsg=uploadErrorMsg==null?null:uploadErrorMsg.trim();
	 return this;
	}
	public java.lang.String getUploadErrorMsg(){
		return this.uploadErrorMsg;
	}
	public CloudVedio setRetryTimes(java.lang.Integer retryTimes){
	 this.retryTimes=retryTimes;
	 return this;
	}
	public java.lang.Integer getRetryTimes(){
		return this.retryTimes;
	}
	public CloudVedio setUploadErrorCode(java.lang.String uploadErrorCode){
		this.uploadErrorCode=uploadErrorCode==null?null:uploadErrorCode.trim();
	 return this;
	}
	public java.lang.String getUploadErrorCode(){
		return this.uploadErrorCode;
	}
	public java.util.Date getDeleteTime() {
		return deleteTime;
	}
	public void setDeleteTime(java.util.Date deleteTime) {
		this.deleteTime = deleteTime;
	}
	@Override
	public String toString() {
		return "CloudVedio [deviceId=" + deviceId + ", deviceNum=" + deviceNum + ", messageId=" + messageId
				+ ", mediaUrl=" + mediaUrl + ", coverUrl=" + coverUrl + ", requestId=" + requestId + ", vedioFileId="
				+ vedioFileId + ", coverFileId=" + coverFileId + ", remark=" + remark + ", status=" + status
				+ ", uploadStatus=" + uploadStatus + ", createTime=" + createTime + ", deleteTime=" + deleteTime
				+ ", updateTime=" + updateTime + ", vedioFileName=" + vedioFileName + ", coverFileName=" + coverFileName
				+ ", localVedioFileId=" + localVedioFileId + ", localCoverFileId=" + localCoverFileId
				+ ", localVedioFilePath=" + localVedioFilePath + ", localCoverFilePath=" + localCoverFilePath
				+ ", uploadErrorMsg=" + uploadErrorMsg + ", retryTimes=" + retryTimes + ", uploadErrorCode="
				+ uploadErrorCode + "]";
	}

}
